﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MMM.Services.Response
{
    public class JsonNode<T> where T : JsonNode<T>
    {
        public JsonNode()
        {
            //isVisible = true;
            expanded = true;
            leaf = false;
            children = new List<T>();
        }
        public Guid? id { get; set; }
        public bool leaf { get; set; }
        public string text { get; set; }
        //public bool isVisible { get; set; }
        public int level { get; set; }
        public List<T> children { get; set; }
        public string iconCls { get; set; }
        public bool expanded { get; set; }
    }
}
